package com.tongshu.multiplefiles.model;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
public class MyFile implements Serializable {
    private static final long serialVersionUID = -3249952572637644776L;
    private Long id;
    private String name;
    private String path;
    private String md5;
    private Date uploadTime;
    private Integer status;

    public MyFile(String name, String path, String md5, Date uploadTime, Integer status) {
        this.name = name;
        this.path = path;
        this.md5 = md5;
        this.uploadTime = uploadTime;
        this.status = status;
    }
}
